//
//  ViewController.m
//  +X数字键盘
//
//  Created by 梁森 on 2017/11/6.
//  Copyright © 2017年 梁森. All rights reserved.
//

#import "ViewController.h"
#import "BXTextField.h"
@interface ViewController ()

@property (nonatomic, strong) BXTextField * textField;
@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
    BXTextField * textField =[[BXTextField alloc] initWithFrame:CGRectMake(100, 100, 100, 30)];
    textField.borderStyle = UITextBorderStyleRoundedRect;
    
    textField.placeholder = @"输入信息...";
    [self.view addSubview:textField];
    _textField = textField;
    
    UITextField * pointField = [[UITextField alloc] initWithFrame:CGRectMake(100, 300, 100, 30)];
    [self.view addSubview:pointField];
    pointField.borderStyle = UITextBorderStyleRoundedRect;
    pointField.keyboardType = UIKeyboardTypeDecimalPad;
}



- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


@end
